package standard;

import java.awt.Color;
import java.util.Random;

import net.Connection;
import core.online.Player;

public class ShooterPlayer extends Player {

	private static final Random rand = new Random();

	public PlayerEntity myEntity = new PlayerEntity(generateColor());

	public ShooterPlayer(Connection conn) {
		super(conn);
		myEntity.layer = Common.ENTITY_LAYER;
	}

	private static Color generateColor() {
		return new Color(rand.nextInt(256), rand.nextInt(256), rand
				.nextInt(256));
	}

}
